package com.tan.steamship.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tan.steamship.domain.UserPo;
import com.tan.steamship.dto.UserDto;
import com.tan.steamship.vo.UserVo;

/**
* @author 85726
* @description 针对表【user(用户表)】的数据库操作Service
* @createDate 2024-12-10 20:30:35
*/
public interface UserService extends IService<UserPo> {
    UserPo login(UserPo user);

    void register(UserDto userDto);

    void saveOrUpdate(UserDto userDto);

    Page<UserPo> listUser(String userName,int page, int size);

    UserVo detail(String id);

    void isExist(String username);


}
